package com.audaque.springboot.foshanupload.web.raspcloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

  import java.time.*;
  import com.fasterxml.jackson.annotation.JsonFormat;
  import org.springframework.format.annotation.DateTimeFormat;
 import com.baomidou.mybatisplus.annotation.*;

import io.swagger.v3.oas.annotations.media.Schema;


import lombok.*;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 后台用户和角色关系表
 * </p>
 *
 * @author chinaben
 * @since 2025-07-03
 */
@Data
@Getter
@Setter
@TableName("user_role_rel")
@Schema(name = "UserRoleRel", description = "后台用户和角色关系表")
public class UserRoleRel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    @Schema(description = "用户id")
    private Long userId;


    @Schema(description = "角色id")
    private Long roleId;

}
